package demo02;

//乒乓球运动员
public class PingPangPlayer extends Player implements Speak {
    //空参, 全参.
    public PingPangPlayer() {
    }

    public PingPangPlayer(String name, int age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println("乒乓球运动员学如何发球");
    }

    @Override
    public void eat() {
        System.out.println("乒乓球运动员吃羊肉, 喝羊奶");
    }

    @Override
    public void speakEnglish() {
        System.out.println("乒乓球运动员为了出国交流, 需要学英语");
    }
}
